package sardine.function;

import sardine.Request;

/**
 * 条件
 *
 * @auth bruce-sha
 * @date 2015/5/21
 */
@FunctionalInterface
public interface Condition {

    boolean apply(Request request) throws Exception;

    @FunctionalInterface
    public static interface VCondition {
        boolean apply() throws Exception;
    }

}
